function [H2] = CalibrationFunction (H_2,CurrentCosFreq,OrigFreq,RecFreq)

cprintf('blue','Signal Cosine Freq = %g\n',CurrentCosFreq);
[MaxOrig,IndOrig]=max(abs(OrigFreq));
[MaxRec,IndRec]=max(abs(RecFreq));

% This is the Calibration coefficient for the Current Frequency:
H2=OrigFreq(IndOrig)/RecFreq(IndRec) 
